package com.bdqn.ch11.service;


import com.bdqn.ch11.entity.Right;
import com.bdqn.ch11.entity.Role;

import java.util.List;

public interface RoleService {

    public List<Role> getRoleListService();

    //权限查询所有
    public List<Right> findAllRights();

    List<Right> findRightsByRole(Role role);
}
